<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<title>基础数据</title>
<meta name="decorator" content="default" />
<script type="text/javascript" src="${ctxStatic}/modules/sys/basecode.js"></script>
</head>
<body>
	
	<table id="grid"></table>
    <div id="toolbar">
	   	<table cellspacing="0" cellpadding="0">
			<tr>
				<td><a href="javascript:void(0)" class="easyui-linkbutton" plain="true" iconcls="icon-add" onclick="sys.basecode.showForm()">添加</a></td>
				<td><div class="datagrid-btn-separator"></div></td>
			</tr>
		</table>
    </div>
	
	<!-- 新增/修改窗口 -->
	<div id="fmDlg" class="easyui-dialog" title="用户信息" modal="true" width="500" height="300" buttons="#dlg-buttons" closed="true">
		<form id="fm" style="padding: 5px;">
			<input type="hidden" id="id" name="id" /> 
			<table>
				<tr height="30">
					<td width="60" align="right">用户名</td>
					<td colspan="3"><input class="easyui-textbox" required="true" style="width: 365px;" id="loginName" name="loginName" /></td>
				</tr>
				<tr height="30">
					<td width="60" align="right">所属部门</td>
					<td><input class="easyui-combotree" style="width:150px;" id="dept" name="dept" /></td>
					<td width="60" align="right">真实名称</td>
					<td><input class="easyui-textbox" id="name" name="name" style="width:150px;" /></td>
				</tr>
				<tr height="30">
					<td width="60" align="right">联系方式</td>
					<td colspan="3"><input class="easyui-textbox" style="width:365px;" id="phone" name="phone" /></td>
				</tr>
				<tr height="30">
					<td width="60" align="right">角色</td>
					<td colspan="3"><input class="easyui-combobox" style="width:365px;" id="roleList" name="roleList" /></td>
				</tr>
				<tr height="30">
					<td width="60" align="right">邮箱</td>
					<td colspan="3"><input class="easyui-textbox" style="width:365px;" id="email" name="email" /></td>
				</tr>
				<tr height="40">
					<td width="60" align="right">备注</td>
					<td colspan="3"><input class="easyui-textbox" multiline="true" style="width:365px;height:35px;" id="remarks" name="remarks" /></td>
				</tr>
			</table>
		</form>
	</div>
	<div id="dlg-buttons">
		<a href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-ok" onclick="sys.user.saveOrupdate()">确定</a>
		<a href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-cancel" onclick="$('#fmDlg').dialog('close')">取消</a> 
	</div>

</body>
</html>